package com.ttg.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author zhangHongYuan
 * @description
 * @date 2023/6/8 11:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tbl_bank_agent")
public class BankAgent implements Serializable {
    private static final long serialVersionUID = -1023145197629979409L;

    /**
     * 机构编号
     */
    @TableId(value = "bank_agent_no",type = IdType.INPUT)
    private String bankAgentNo;
    /**
     *  机构名称
     */
    @TableField(value = "bank_agent_name")
    private String bankAgentName;
    /**
     *  机构层级
     */
    @TableField(value = "bank_agent_level")
    private String bankAgentLevel;
    /**
     *  父级机构编号
     */
    @TableField(value = "bank_agent_parent_no")
    private String bankAgentParentNo;
    /**
     *  一级机构编号
     */
    @TableField(value = "bank_agent_no1")
    private String bankAgentNo1;
    /**
     *  二级机构编号
     */
    @TableField(value = "bank_agent_no2")
    private String bankAgentNo2;
    /**
     *  三级机构编号
     */
    @TableField(value = "bank_agent_no3")
    private String bankAgentNo3;
    /**
     *  四级机构编号
     */
    @TableField(value = "bank_agent_no4")
    private String bankAgentNo4;
    /**
     *  零级机构编号
     */
    @TableField(value = "bank_agent_no0")
    private String bankAgentNo0;
    /**
     *  更新时间
     */
    @TableField(value = "bank_agent_update_time")
    private LocalDateTime bankAgentUpdateTime;
}
